-- GENERATED SPELL FOR [Rainspeaker Warrior] --


function spell0_28024(pUnit, Event) --@Flip Attack,n/a--
pUnit:FullCastSpellOnTarget(50533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28024', 598, 1)
end

function Sorts_28024(pUnit, Event)
local choix_sorts_28024 = math.random(0, 0)
if choix_sorts_28024 == 0 then
pUnit:RegisterEvent('spell0_28024', 1, 1)
end
end

function mob28024_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28024', math.random(1500, 3000), 1)
end

function mob28024_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28024_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28024_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28024, 1, 'mob28024_Action')
RegisterUnitEvent(28024, 2, 'mob28024_Leave')
RegisterUnitEvent(28024, 3, 'mob28024_Kill')
RegisterUnitEvent(28024, 4, 'mob28024_Die')
